1 /* JJT: 0.2.2 */ 2 3 package mobisnap.mobile_trx; 4 5 6 /*** 7 * Implements ROLLBACK statement 8 */ 9 public class ASTRollbackStatement extends mobisnap.mobile_trx.SimpleNode { 10 public ASTRollbackStatement(int id) { 11 super(id); 12 } 13 14 public ASTRollbackStatement( MobisnapSQL p, int i) { 15 super( p, i); 16 id = i; 17 } 18 19 public void process( int msql_type) throws Exception { 20 MobisnapSQL.transaction.rollback(); 21 throw new RollbackException(); 22 } 23 24 /*** Accept the visitor. **/ 25 public Object jjtAccept(MobisnapSQLVisitor visitor, Object data) { 26 return visitor.visit(this, data); 27 } 28 29 }

This page was automatically generated by Maven